package com.lf.mapper;

import com.lf.model.EbProductCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductCategoryMapper {
    List<EbProductCategory> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);

    int  save(EbProductCategory ebProductCategory);
    int delete (Integer epcId);
    int updateByPrimaryKey(EbProductCategory ebProductCategory);

    int getMaxPage(int pageSize);

    EbProductCategory findById(int epcId);
}
